import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import "swiper/swiper.min.css"
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import '@/styles/index.scss' // global css

import App from './App'
import store from './store'
import router from './router'

// videojs
import Video from 'video.js'
import 'video.js/dist/video-js.css'
Vue.prototype.$video = Video

// import VuevideoPlayer from 'vue-video-player';
// import 'video.js/dist/video-js.css';
// Vue.use(VuevideoPlayer);


import '@/icons' // icon
import '@/permission' // permission control
import VueQuillEditor from 'vue-quill-editor'//编辑器
// 样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)
Vue.use(ElementUI, { locale, size: 'small', zIndex: 3000 })
Vue.config.productionTip = false
window.console.log = function () { };

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
